import {
    http
} from "@/utils/http";

export function getLogin(params) {
    return http({
        url: '/login',
        method: 'POST',
        data:{account:"demo",password:"123456"}
    })
}

export function getSanji(id) {
    return http({
        url: '/category/sub/filter?id='+id,
        method: 'GET'
    })
}